const routes = [
    {
        path:'/roles',
        name:'rights',
        title:'权限管理',
        component:()=>import("../../views/roles/index.vue"),
        children:[
            {
                path:"/role",
                name:'roles',
                title:"角色列表",
                component:()=>import("../../views/roles/role.vue")
            },
            {
                path:"/permission",
                name:'rights',
                title:"权限列表",
                component:()=>import("../../views/roles/permission.vue")
            }
        ]
    }
]

export default routes